package com.omall.open.sdk.response;

import com.omall.open.sdk.OmallResponse;
import com.omall.open.sdk.domain.OrderDetail;

import java.util.List;

/**
 * @author 枫伦
 * @description: TODO
 * @date 2020/10/22 5:24 下午
 */
public class OrderDetailResponse extends OmallResponse {
    private static final long serialVersionUID = 2314412659741990013L;
    private List<OrderDetail> orderDetailList;

    @Override
    public Class<?> getResultType() {
        return OrderDetail.class;
    }

    @Override
    public void setResult(Object result) {
        if(result != null) {
            this.orderDetailList = (List<OrderDetail>) result;
        }
    }

    public List<OrderDetail> getOrderDetailList() {
        return orderDetailList;
    }

    public void setOrderDetailList(List<OrderDetail> orderDetailList) {
        this.orderDetailList = orderDetailList;
    }
}
